package com.guigu.tms.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.guigu.tms.commons.entity.base.BaseTruckType;
import com.guigu.tms.commons.entity.base.PdGoodsType;
import com.guigu.tms.commons.entity.base.PdTruckType;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车辆类型表 服务类
 * </p>
 *
 * @author wj
 * @since 2022-09-26
 */
public interface IPdTruckTypeService extends IService<PdTruckType> {
    //查询所有车辆类型表的信息
    List<PdTruckType> ShowPdTruckType();

    PageInfo<BaseTruckType> BaseTruckTypeList(Map<String,String> map);

    //查询所以货品类型信息
    List<PdGoodsType> ShowPdGoodsType();

    //添加车辆类型信息
    int AddTruckType(PdTruckType pdTruckType);

    //根据id删除车辆信息
    int DeleteTruckTypeById(int truckTypeId);

    //修改车辆类型信息
    int UpdateTruckType(PdTruckType pdTruckType);

    //删除车辆货品类型关联表
    int DeleteGoodsTruck(int truckTypeId);
}
